//
// Created by wkm on 2023-12-03.
//

#ifndef MYSYSTEMCLEARNING_UNSIGNED_ADDER_H
#define MYSYSTEMCLEARNING_UNSIGNED_ADDER_H

#include "systemc.h"

SC_MODULE(unsigned_adder) {
    sc_in<sc_uint<4> > arb, tbe;
    sc_out<sc_uint<5> > sum;

    void prc_unsigned_adder();

    SC_CTOR(unsigned_adder) {
        SC_METHOD(prc_unsigned_adder);
        sensitive << arb << tbe;
    }
};

#endif //MYSYSTEMCLEARNING_UNSIGNED_ADDER_H
